const Sys_Home = () => import("~/view/System/Home").then(m => m.default || m);
const Sys_User = () => import("~/view/System/user").then(m => m.default || m);
const Sys_Module = () =>
  import("~/view/System/module").then(m => m.default || m);
const Sys_menu = () =>
  import("~/view/System/module/OpenMenu").then(m => m.default || m);
const Sys_Authority = () => import("~/view/System/authority").then(m => m.default || m);
/**
 * 系统设置 前缀- sys
 */
export default [
  //首页
  {
    path: "/SysHome",
    component: Sys_Home,
    name: "SysHome",
    authentication: "SysHome"
  },
  //用户管理
  {
    path: "/SysUser",
    component: Sys_User,
    name: "SysUser",
    authentication: "SysUser"
  },
  //模块管理
  {
    path: "/SysModule",
    component: Sys_Module,
    name: "SysModule",
    authentication: "SysModule"
  },
  //菜单管理
  {
    path: "/Sysmenu",
    name: "Sysmenu",
    hidden: true,
    authentication: "SysModule",
    component: Sys_menu
  },
  //权限管理
  {
    path: "/SysAuthority",
    name: "SysAuthority",
    authentication: "SysAuthority",
    component: Sys_Authority
  }
];